package com.woniu.sharepark.leasesystem.common.exception;

/**
 * @author DELL
 * @date 2019/6/18 22:24
 * version v1.0
 */
public class BussinessException extends RuntimeException {
    private Integer code;
    private String msg;

    public BussinessException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
